home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / grafica / amhelios / muipreview.h < prev    next >
C/C++ Source or Header  |  1999-01-01  |  2KB  |  55 lines

  1. #ifndef MUIPREVIEW_H
  2. #define MUIPREVIEW_H
  3. /* -------------------------------------------------------------------------- *\
  4.    MUIPREVIEW.H
  5.    Copyright © 1997 by Jarno van der Linden
  6.    jarno@kcbbs.gen.nz
  7.  
  8.    Preview MUI class, header file
  9.  
  10.    This program is Freeware, and all usual Freeware rules apply.
  11.  
  12.    09 Aug 1997: Project started
  13. \* -------------------------------------------------------------------------- */
  14.  
  15. /* -------------------------------- Includes -------------------------------- */
  16.  
  17. /* ------------------------------ Definitions ------------------------------- */
  18. #define MUISERIALNR_ME 1
  19. #define TAGBASE_ME (TAG_USER | (MUISERIALNR_ME << 16))
  20.  
  21. #define MUIM_Preview_Update (TAGBASE_ME | 0x0001)
  22.  
  23. #define MUIA_Preview_Mode        (TAGBASE_ME | 0x0100)
  24. #define MUIA_Preview_Mode_Add    (TAGBASE_ME | 0x0101)
  25. #define MUIA_Preview_Mode_Remove (TAGBASE_ME | 0x0102)
  26. #define MUIA_Preview_Mode_Toggle (TAGBASE_ME | 0x0103)
  27. #define MUIA_Preview_Camera      (TAGBASE_ME | 0x0104)
  28. #define MUIA_Preview_Environ     (TAGBASE_ME | 0x0105)
  29. #define MUIA_Preview_Level       (TAGBASE_ME | 0x0106)
  30.  
  31. #define PREVIEW_STATIC        (0)
  32. #define PREVIEW_MOVEX        (1L<<0)
  33. #define PREVIEW_MOVEY        (1L<<1)
  34. #define PREVIEW_MOVEZ        (1L<<2)
  35. #define PREVIEW_MOVEEYE        (1L<<3)
  36. #define PREVIEW_MOVEFOCUS    (1L<<4)
  37.  
  38. /* --------------------------------- Macros --------------------------------- */
  39. #define MUIPreview(e,c) NewObject(previewClass->mcc_Class,NULL,MUIA_Preview_Environ,e,MUIA_Preview_Camera,c
  40.  
  41. /* -------------------------------- Typedefs -------------------------------- */
  42.  
  43. /* ------------------------------ Proto Types ------------------------------- */
  44. struct MUI_CustomClass *InitPreviewClass(void);
  45. void DeletePreviewClass(void);
  46.  
  47. /* -------------------------------- Structs --------------------------------- */
  48.  
  49. /* -------------------------------- Globals --------------------------------- */
  50. extern struct MUI_CustomClass *previewClass;
  51.  
  52. /* ---------------------------------- Code ---------------------------------- */
  53.  
  54. #endif /* MUIPREVIEW_H */
  55.